
#ifndef PLAY_H
#define PLAY_H


#include <QMainWindow>
#include"coin.h"


class play : public QMainWindow
{
    Q_OBJECT
public:
    //explicit play(QWidget *parent = nullptr);
    play(int level);
    int levelindex;//重写构造函数
    void paintEvent(QPaintEvent *);
    int gk[4][4];//创建二维数组来维护每关的数据
    coin *btn_coin[4][4];
    bool iswin;
signals:

};


#endif // PLAY_H
